import java.awt.*;
import java.awt.event.*;

import javax.swing.*;


public class ButtonHelper extends JButton {
	private ButtonHelper(String title) {
		super(title);
	}
	
	public ButtonHelper(String title, ActionListener action) {
		super(title);
		
		this.setPreferredSize(new Dimension(100, 40));
		this.addActionListener(action);
	}
}
